package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.HomeAdvertise;
import com.itheima.vo.PageBeanVo;

/**
 * <p>
 * 首页轮播广告表 服务类
 * </p>
 *
 * @author fukeke
 * @since 2022-11-11
 */
public interface IHomeAdvertiseService extends IService<HomeAdvertise> {

    PageBeanVo findByPage(Integer pageSize, Integer pageNum, Integer type, String endTime, String name);

    void addNew(HomeAdvertise homeAdvertise);

    void delete(Integer[] ids);

    void updateStatus(Integer id,Integer status);

    void updateAdvertise(HomeAdvertise advertise,Integer id);

    HomeAdvertise getAdvertise(Integer id);
}
